package com.xuecheng.media.service;

import org.apache.rocketmq.spring.core.RocketMQTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.messaging.support.MessageBuilder;
import org.springframework.stereotype.Service;

@Service
public class MediaService {

//    private final RocketMQTemplate rocketMQTemplate;
//
//    @Autowired
//    public MediaService(RocketMQTemplate rocketMQTemplate) {
//        this.rocketMQTemplate = rocketMQTemplate;
//    }

    /**
     * 发送普通媒体处理消息
     */
//    public void sendMediaProcessMessage(MediaEntity media) {
//        rocketMQTemplate.convertAndSend("MEDIA_PROCESS_TOPIC", media);
//    }
}